package com.wjie;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:wjie
 * @Date: 2020/2/27 12:49
 */
@RestController
public class Hello {

    @RequestMapping(value = "hello", produces = "application/json; charset=utf-8")
    public String hello() {
        System.out.println("hello");
        return "hello spring mvc,你好master";
    }
}